﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/UserHome.Master" CodeBehind="AddContent.aspx.vb" Inherits="LEAD.Addwikiorblog" 
    title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <tr>
        <td>
   <form id="form1" runat="server">

   <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
   </asp:ToolkitScriptManager>

    <table  width="100%">
        <tr>
            <td  style="width: 191px;">
                &nbsp;</td>
            <td>
                <asp:Label ID="Label1" runat="server" ForeColor="Red" 
                    Text="You dont have rights to publish this content type" Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 191px;">
                Content Type</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem Value="1">Wiki</asp:ListItem>
                    <asp:ListItem Value="2">Blog</asp:ListItem>
                    <asp:ListItem Value="3">Query</asp:ListItem>
                    <asp:ListItem Value="4">Training</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td  style="width: 191px; height: 21px;">
                Title</td>
            <td style="height: 21px;">
                <asp:TextBox ID="tb_Title" runat="server" Width="759px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 191px;">
                Add
                Description</td>
            <td>
            
            <%@ Register
    Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="HTMLEditor" %>

<htmleditor:editor ID="Editor_description" runat="server" 
        Height="300px" 
        Width="100%"
        AutoFocus="true"
/>
                <%--<asp:TextBox ID="tb_Description" runat="server" Height="305px" 
                    TextMode="MultiLine" Width="766px"></asp:TextBox>--%>
            </td>
        </tr>
        <tr>
            <td style="width: 191px;">
                References</td>
            <td>
                <asp:TextBox ID="tb_References" runat="server" Width="765px" Height="68px" 
                    TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
        <td style="width: 191px">Pictures</td>
        <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="F_PICTURE" runat="server" 
                    ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                <asp:FileUpload ID="f_Picture" runat="server" />
            </td>
        </tr>
        <tr>
            <td style="width: 191px;">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 191px;">
                &nbsp;</td>
            <td align="center">
                <asp:Button ID="bt_Addcontent" runat="server"  Text="Add Content" />
            </td>
        </tr>
    </table>
    </form>
        </td>
    </tr>
</asp:Content>
